home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
smaltalk
/
st80_r41.lha
/
st80_r41
/
OldstyleIcons.st
< prev
next >
Wrap
Text File
|
1993-07-23
|
1KB
|
35 lines
" NAME OldstyleIcons
AUTHOR Bill Voss (voss@cs.uiuc.edu)
FUNCTION Restore the old pre-R4 simple style of icon.
ST-VERSIONS ST80 R4.1 and R4.0
PREREQUISITES none
DISTRIBUTION world
VERSION ID 1
VERSION DATE August 22, 1992
SUMMARY
When used with a good window manager (one that does not impose
arbitrary limits on icon labels) this code restores the simple old
style of icon by getting rid of the bitmaps.
At the moment I am using tvtwm as my window manager.
From Objectworks(r)\Smalltalk, Release 4 of 25 February 1991 on 26 November 1991 at 7:16:15 pm"!
!Window methodsFor: 'accessing'!
setIconMask: aMask
"Set the receiver's icon mask to be aMask."
"
<primitive: 951>
self primitiveFailed
I only want the text label the way Version 2.5 used to do it.
By commenting out this method, using tvtwm, and telling ST to use long labels with
Window maxIconLabelLength: SmallInteger maxVal.
I get the traditional behaviour.
-Bill Voss"
^self! !